package ihm;

import java.awt.EventQueue;
import java.awt.Font;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.border.EmptyBorder;

public class frmAjouterGenre extends JPanel
{

	private JPanel contentPane;
	private JLabel lblIconUser;
	private JButton btnNewButton;
	private JLabel lblNomDutilisateur;
	private JButton btnAnnuler;
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args)
	{
		EventQueue.invokeLater(new Runnable()
		{
			public void run()
			{
				try
				{
					frmAjouterGenre frame = new frmAjouterGenre();
					frame.setVisible(true);
					
				} catch (Exception e)
				{
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public frmAjouterGenre()
	{
		contentPane = new JPanel();
		contentPane.setLayout(null);	
		
		lblIconUser = new JLabel("Ajouter un genre");
		lblIconUser.setFont(new Font("Segoe UI", Font.PLAIN, 32));
		lblIconUser.setBounds(10, 11, 361, 64);
		contentPane.add(lblIconUser);
		
		btnNewButton = new JButton("Ajouter");
		btnNewButton.setBounds(232, 215, 91, 23);
		contentPane.add(btnNewButton);
		
		lblNomDutilisateur = new JLabel("Nom genre :");
		lblNomDutilisateur.setFont(new Font("Segoe UI", Font.PLAIN, 14));
		lblNomDutilisateur.setBounds(10, 100, 165, 14);
		contentPane.add(lblNomDutilisateur);
		
		btnAnnuler = new JButton("Annuler");
		btnAnnuler.setBounds(333, 215, 91, 23);
		contentPane.add(btnAnnuler);
		
		textField = new JTextField();
		textField.setBounds(10, 125, 414, 20);
		contentPane.add(textField);
		textField.setColumns(10);


	}
}
